<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>css字体属性之文字样式</title>
    <style>
    p {
        font-style: italic;
    }
    em {
        font-style: normal;
    }
    </style>
</head>
<body>
<p>同学，上课时候的样子</p>
<em>同学，上课时候的样子</em>
</body>
</html>